.class public Lcom/netease/newsreader/util/VersionCompatibilityUtil;
.super Ljava/lang/Object;
.source "VersionCompatibilityUtil.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/netease/newsreader/util/VersionCompatibilityUtil$ActivityUtil;,
        Lcom/netease/newsreader/util/VersionCompatibilityUtil$ActivityUtil_DONUT_DOWN;,
        Lcom/netease/newsreader/util/VersionCompatibilityUtil$ActivityUtil_DONUT_UP;,
        Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil;,
        Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil_DONUT_UP;,
        Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil_DUNUT_DOWN;
    }
.end annotation


# static fields
.field private static mActivityUtil:Lcom/netease/newsreader/util/VersionCompatibilityUtil$ActivityUtil;

.field private static mTouchUtil:Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 17
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static getActivityUtil()Lcom/netease/newsreader/util/VersionCompatibilityUtil$ActivityUtil;
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 25
    sget-object v0, Lcom/netease/newsreader/util/VersionCompatibilityUtil;->mActivityUtil:Lcom/netease/newsreader/util/VersionCompatibilityUtil$ActivityUtil;

    if-nez v0, :cond_0

    .line 26
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/4 v1, 0x4

    if-le v0, v1, :cond_1

    .line 27
    new-instance v0, Lcom/netease/newsreader/util/VersionCompatibilityUtil$ActivityUtil_DONUT_UP;

    invoke-direct {v0, v2}, Lcom/netease/newsreader/util/VersionCompatibilityUtil$ActivityUtil_DONUT_UP;-><init>(Lcom/netease/newsreader/util/VersionCompatibilityUtil$ActivityUtil_DONUT_UP;)V

    sput-object v0, Lcom/netease/newsreader/util/VersionCompatibilityUtil;->mActivityUtil:Lcom/netease/newsreader/util/VersionCompatibilityUtil$ActivityUtil;

    .line 33
    :cond_0
    :goto_0
    sget-object v0, Lcom/netease/newsreader/util/VersionCompatibilityUtil;->mActivityUtil:Lcom/netease/newsreader/util/VersionCompatibilityUtil$ActivityUtil;

    return-object v0

    .line 29
    :cond_1
    new-instance v0, Lcom/netease/newsreader/util/VersionCompatibilityUtil$ActivityUtil_DONUT_DOWN;

    invoke-direct {v0, v2}, Lcom/netease/newsreader/util/VersionCompatibilityUtil$ActivityUtil_DONUT_DOWN;-><init>(Lcom/netease/newsreader/util/VersionCompatibilityUtil$ActivityUtil_DONUT_DOWN;)V

    sput-object v0, Lcom/netease/newsreader/util/VersionCompatibilityUtil;->mActivityUtil:Lcom/netease/newsreader/util/VersionCompatibilityUtil$ActivityUtil;

    goto :goto_0
.end method

.method public static getMotionEventUtil()Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil;
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 60
    sget-object v0, Lcom/netease/newsreader/util/VersionCompatibilityUtil;->mTouchUtil:Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil;

    if-nez v0, :cond_0

    .line 61
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/4 v1, 0x4

    if-le v0, v1, :cond_1

    .line 62
    new-instance v0, Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil_DONUT_UP;

    invoke-direct {v0, v2}, Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil_DONUT_UP;-><init>(Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil_DONUT_UP;)V

    sput-object v0, Lcom/netease/newsreader/util/VersionCompatibilityUtil;->mTouchUtil:Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil;

    .line 68
    :cond_0
    :goto_0
    sget-object v0, Lcom/netease/newsreader/util/VersionCompatibilityUtil;->mTouchUtil:Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil;

    return-object v0

    .line 64
    :cond_1
    new-instance v0, Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil_DUNUT_DOWN;

    invoke-direct {v0, v2}, Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil_DUNUT_DOWN;-><init>(Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil_DUNUT_DOWN;)V

    sput-object v0, Lcom/netease/newsreader/util/VersionCompatibilityUtil;->mTouchUtil:Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil;

    goto :goto_0
.end method
